Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-13 23:59:05.226523 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025 port_id : 20820501 datou_current_id : 2614228 in upload_from_sqlite, uploading in 20820501 in upload_photo_and_update_logs, uploading 1 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250222 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250223 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250224 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250225 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250226 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg', 2)] in upload media Upload medias : ['/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 /home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg after data_to_send, before sending request cannot unpack non-iterable int object time to upload: 0.49591803550720215 secondes --- ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-13 23:59:33.078729 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025 port_id : 20820501 datou_current_id : 2614228 in upload_from_sqlite, uploading in 20820501 in upload_photo_and_update_logs, uploading 1 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250222 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250223 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250224 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250225 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250226 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg', 2)] in upload media Upload medias : ['/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 /home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg after data_to_send, before sending request cannot unpack non-iterable int object time to upload: 0.16439175605773926 secondes --- ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:00:04.122254 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025 port_id : 20820501 datou_current_id : 2614228 in upload_from_sqlite, uploading in 20820501 in upload_photo_and_update_logs, uploading 1 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250222 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250223 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250224 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250225 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250226 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg', 2)] in upload media Upload medias : ['/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 /home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg after data_to_send, before sending request cannot unpack non-iterable int object time to upload: 0.20493435859680176 secondes --- ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:00:33.313742 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025 port_id : 20820501 datou_current_id : 2614228 in upload_from_sqlite, uploading in 20820501 in upload_photo_and_update_logs, uploading 1 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250222 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250223 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250224 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250225 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250226 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg', 2)] in upload media Upload medias : ['/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 /home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg after data_to_send, before sending request cannot unpack non-iterable int object time to upload: 0.1994616985321045 secondes --- ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:01:03.673854 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025 port_id : 20820501 datou_current_id : 2614228 in upload_from_sqlite, uploading in 20820501 in upload_photo_and_update_logs, uploading 1 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250222 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250223 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250224 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250225 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250226 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg', 2)] in upload media Upload medias : ['/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 /home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg after data_to_send, before sending request cannot unpack non-iterable int object time to upload: 0.21596455574035645 secondes --- ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:01:32.703433 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025 port_id : 20820501 datou_current_id : 2614228 in upload_from_sqlite, uploading in 20820501 in upload_photo_and_update_logs, uploading 1 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250222 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250223 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250224 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250225 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250226 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg', 2)] in upload media Upload medias : ['/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 /home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg after data_to_send, before sending request cannot unpack non-iterable int object time to upload: 0.16733527183532715 secondes --- ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:02:03.641220 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025 port_id : 20820501 datou_current_id : 2614228 in upload_from_sqlite, uploading in 20820501 in upload_photo_and_update_logs, uploading 1 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250222 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250223 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250224 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250225 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250226 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg', 2)] in upload media Upload medias : ['/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 /home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg after data_to_send, before sending request cannot unpack non-iterable int object time to upload: 0.20954203605651855 secondes --- ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:02:32.830385 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025 port_id : 20820501 datou_current_id : 2614228 in upload_from_sqlite, uploading in 20820501 in upload_photo_and_update_logs, uploading 1 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250222 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250223 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250224 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250225 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250226 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg', 2)] in upload media Upload medias : ['/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 /home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg after data_to_send, before sending request cannot unpack non-iterable int object time to upload: 0.16426944732666016 secondes --- ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:03:04.016623 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025 port_id : 20820501 datou_current_id : 2614228 in upload_from_sqlite, uploading in 20820501 in upload_photo_and_update_logs, uploading 1 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250222 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250223 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250224 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250225 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250226 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg', 2)] in upload media Upload medias : ['/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 /home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg after data_to_send, before sending request cannot unpack non-iterable int object time to upload: 0.20252656936645508 secondes --- ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:03:32.998983 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025 port_id : 20820501 datou_current_id : 2614228 in upload_from_sqlite, uploading in 20820501 in upload_photo_and_update_logs, uploading 1 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250222 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250223 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250224 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250225 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250226 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg', 2)] in upload media Upload medias : ['/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 /home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg after data_to_send, before sending request cannot unpack non-iterable int object time to upload: 0.1643373966217041 secondes --- ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:04:04.167532 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025 port_id : 20820501 datou_current_id : 2614228 in upload_from_sqlite, uploading in 20820501 in upload_photo_and_update_logs, uploading 1 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250222 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250223 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250224 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250225 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250226 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg', 2)] in upload media Upload medias : ['/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 /home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg after data_to_send, before sending request cannot unpack non-iterable int object time to upload: 0.30555248260498047 secondes --- ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:04:33.193948 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025 port_id : 20820501 datou_current_id : 2614228 in upload_from_sqlite, uploading in 20820501 in upload_photo_and_update_logs, uploading 1 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250222 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250223 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250224 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250225 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250226 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg', 2)] in upload media Upload medias : ['/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 /home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg after data_to_send, before sending request cannot unpack non-iterable int object time to upload: 0.17778563499450684 secondes --- ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:05:03.290211 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025 port_id : 20820501 datou_current_id : 2614228 in upload_from_sqlite, uploading in 20820501 in upload_photo_and_update_logs, uploading 1 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250222 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250223 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250224 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250225 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250226 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg', 2)] in upload media Upload medias : ['/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 /home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg after data_to_send, before sending request cannot unpack non-iterable int object time to upload: 0.26524996757507324 secondes --- ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:05:32.388655 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025 port_id : 20820501 datou_current_id : 2614228 in upload_from_sqlite, uploading in 20820501 in upload_photo_and_update_logs, uploading 1 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250222 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250223 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250224 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250225 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250226 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg', 2)] in upload media Upload medias : ['/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 /home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg after data_to_send, before sending request cannot unpack non-iterable int object time to upload: 0.16738438606262207 secondes --- ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:06:03.246552 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025 port_id : 20820501 datou_current_id : 2614228 in upload_from_sqlite, uploading in 20820501 in upload_photo_and_update_logs, uploading 1 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250222 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250223 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250224 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250225 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250226 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg', 2)] in upload media Upload medias : ['/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 /home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg after data_to_send, before sending request cannot unpack non-iterable int object time to upload: 0.23376750946044922 secondes --- ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:06:32.475504 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025 port_id : 20820501 datou_current_id : 2614228 in upload_from_sqlite, uploading in 20820501 in upload_photo_and_update_logs, uploading 1 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250222 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250223 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250224 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250225 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250226 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg', 2)] in upload media Upload medias : ['/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 /home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg after data_to_send, before sending request cannot unpack non-iterable int object time to upload: 0.1597294807434082 secondes --- ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:07:03.620865 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025 port_id : 20820501 datou_current_id : 2614228 in upload_from_sqlite, uploading in 20820501 in upload_photo_and_update_logs, uploading 1 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250222 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250223 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250224 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250225 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250226 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg', 2)] in upload media Upload medias : ['/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 /home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg after data_to_send, before sending request cannot unpack non-iterable int object time to upload: 0.19087457656860352 secondes --- ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:07:32.727952 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025 port_id : 20820501 datou_current_id : 2614228 in upload_from_sqlite, uploading in 20820501 in upload_photo_and_update_logs, uploading 1 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250222 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250223 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250224 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250225 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250226 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg', 2)] in upload media Upload medias : ['/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 /home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg after data_to_send, before sending request cannot unpack non-iterable int object time to upload: 0.16184210777282715 secondes --- ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:08:03.514353 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025 port_id : 20820501 datou_current_id : 2614228 in upload_from_sqlite, uploading in 20820501 in upload_photo_and_update_logs, uploading 1 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250222 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250223 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250224 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250225 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250226 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg', 2)] in upload media Upload medias : ['/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 /home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg after data_to_send, before sending request cannot unpack non-iterable int object time to upload: 0.2087855339050293 secondes --- ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:08:32.846223 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025 port_id : 20820501 datou_current_id : 2614228 in upload_from_sqlite, uploading in 20820501 in upload_photo_and_update_logs, uploading 1 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250222 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250223 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250224 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250225 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250226 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg', 2)] in upload media Upload medias : ['/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 /home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg after data_to_send, before sending request cannot unpack non-iterable int object time to upload: 0.1654667854309082 secondes --- ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:09:04.292485 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025 port_id : 20820501 datou_current_id : 2614228 in upload_from_sqlite, uploading in 20820501 in upload_photo_and_update_logs, uploading 1 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250222 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250223 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250224 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250225 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250226 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg', 2)] in upload media Upload medias : ['/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 /home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg after data_to_send, before sending request cannot unpack non-iterable int object time to upload: 0.22883176803588867 secondes --- ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:09:32.994886 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025 port_id : 20820501 datou_current_id : 2614228 in upload_from_sqlite, uploading in 20820501 in upload_photo_and_update_logs, uploading 1 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250222 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250223 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250224 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250225 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250226 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg', 2)] in upload media Upload medias : ['/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 /home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg after data_to_send, before sending request cannot unpack non-iterable int object time to upload: 0.15962457656860352 secondes --- ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:10:03.898194 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025 port_id : 20820501 datou_current_id : 2614228 in upload_from_sqlite, uploading in 20820501 in upload_photo_and_update_logs, uploading 1 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250222 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250223 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250224 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250225 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250226 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg', 2)] in upload media Upload medias : ['/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 /home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg after data_to_send, before sending request cannot unpack non-iterable int object time to upload: 0.2219839096069336 secondes --- ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:10:33.090417 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025 port_id : 20820501 datou_current_id : 2614228 in upload_from_sqlite, uploading in 20820501 in upload_photo_and_update_logs, uploading 1 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250222 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250223 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250224 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250225 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250226 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg', 2)] in upload media Upload medias : ['/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 /home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg after data_to_send, before sending request cannot unpack non-iterable int object time to upload: 0.1788179874420166 secondes --- ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:11:03.006068 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025 port_id : 20820501 datou_current_id : 2614228 in upload_from_sqlite, uploading in 20820501 in upload_photo_and_update_logs, uploading 1 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250222 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250223 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250224 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250225 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250226 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg', 2)] in upload media Upload medias : ['/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 /home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg after data_to_send, before sending request cannot unpack non-iterable int object time to upload: 0.23720192909240723 secondes --- ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:11:32.298864 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025 port_id : 20820501 datou_current_id : 2614228 in upload_from_sqlite, uploading in 20820501 in upload_photo_and_update_logs, uploading 1 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250222 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250223 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250224 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250225 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250226 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg', 2)] in upload media Upload medias : ['/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 /home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg after data_to_send, before sending request cannot unpack non-iterable int object time to upload: 0.16045570373535156 secondes --- ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:12:03.142292 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025 port_id : 20820501 datou_current_id : 2614228 in upload_from_sqlite, uploading in 20820501 in upload_photo_and_update_logs, uploading 1 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250222 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250223 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250224 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250225 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250226 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg', 2)] in upload media Upload medias : ['/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 /home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg after data_to_send, before sending request cannot unpack non-iterable int object time to upload: 0.21455883979797363 secondes --- ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:12:32.478706 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025 port_id : 20820501 datou_current_id : 2614228 in upload_from_sqlite, uploading in 20820501 in upload_photo_and_update_logs, uploading 1 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250222 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250223 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250224 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250225 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250226 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg', 2)] in upload media Upload medias : ['/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 /home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg after data_to_send, before sending request cannot unpack non-iterable int object time to upload: 0.16373729705810547 secondes --- ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:13:03.734076 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025 port_id : 20820501 datou_current_id : 2614228 in upload_from_sqlite, uploading in 20820501 in upload_photo_and_update_logs, uploading 1 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250222 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250223 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250224 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250225 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250226 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg', 2)] in upload media Upload medias : ['/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 /home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg after data_to_send, before sending request cannot unpack non-iterable int object time to upload: 0.2787182331085205 secondes --- ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:13:32.641511 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025 port_id : 20820501 datou_current_id : 2614228 in upload_from_sqlite, uploading in 20820501 in upload_photo_and_update_logs, uploading 1 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250222 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250223 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250224 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250225 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250226 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg', 2)] in upload media Upload medias : ['/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 /home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg after data_to_send, before sending request cannot unpack non-iterable int object time to upload: 0.172454833984375 secondes --- ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:14:03.950720 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025 port_id : 20820501 datou_current_id : 2614228 in upload_from_sqlite, uploading in 20820501 in upload_photo_and_update_logs, uploading 1 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250222 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250223 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250224 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250225 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250226 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg', 2)] in upload media Upload medias : ['/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 /home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg after data_to_send, before sending request cannot unpack non-iterable int object time to upload: 0.2220773696899414 secondes --- ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:14:32.843095 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025 port_id : 20820501 datou_current_id : 2614228 in upload_from_sqlite, uploading in 20820501 in upload_photo_and_update_logs, uploading 1 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250222 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250223 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250224 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250225 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250226 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg', 2)] in upload media Upload medias : ['/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 /home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg after data_to_send, before sending request cannot unpack non-iterable int object time to upload: 0.1960127353668213 secondes --- ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:15:04.098510 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025 port_id : 20820501 datou_current_id : 2614228 in upload_from_sqlite, uploading in 20820501 in upload_photo_and_update_logs, uploading 1 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250222 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250223 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250224 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250225 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250226 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg', 2)] in upload media Upload medias : ['/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 /home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg after data_to_send, before sending request cannot unpack non-iterable int object time to upload: 0.24832653999328613 secondes --- ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:15:33.087662 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25022025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025 port_id : 20820501 datou_current_id : 2614228 in upload_from_sqlite, uploading in 20820501 in upload_photo_and_update_logs, uploading 1 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250222 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250223 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250224 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250225 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250226 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg', 2)] in upload media Upload medias : ['/home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 /home/pi/Desktop/images/26022025/15/24/image_26022025_15_24_56_30198.jpg after data_to_send, before sending request cannot unpack non-iterable int object time to upload: 0.168440580368042 secondes --- ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=b8c2885155eb706c1e52c228009042e8&datou_current_id=2614228&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:16:04.158539 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:16:33.343651 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:17:03.968804 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:17:32.497305 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:18:03.484707 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:18:32.676509 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:19:04.222606 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:19:32.976281 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:20:03.843624 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:20:33.168189 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:21:03.711724 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:21:32.327300 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:22:03.260192 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:22:32.438461 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:23:03.801791 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:23:32.703918 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:24:03.999623 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:24:32.836542 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:25:03.825764 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:25:32.928534 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:26:03.795314 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:26:33.303505 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:27:03.295757 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:27:32.504710 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:28:03.315295 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:28:32.706818 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:29:04.500068 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:29:32.956461 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:30:03.828081 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:30:33.089336 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:31:03.441599 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:31:32.231675 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:32:03.102562 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:32:32.318514 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:33:03.787509 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:33:32.525087 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:34:03.867077 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:34:32.730586 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:35:04.179623 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:35:32.913142 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:36:03.764411 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:36:33.044370 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:37:04.469779 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:37:33.305408 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:38:03.403480 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:38:32.561482 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:39:04.370798 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:39:32.672486 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:40:03.393132 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:40:32.836519 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:41:03.811455 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:41:32.897649 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:42:03.948855 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:42:33.219660 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:43:03.256886 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:43:32.439418 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:44:03.986474 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:44:32.613400 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:45:03.914062 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:45:32.772884 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:46:03.702339 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:46:33.011031 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:47:04.390736 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:47:33.173305 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:48:03.157941 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:48:32.400113 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:49:04.129947 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:49:32.600887 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:50:03.443860 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:50:32.644596 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:51:03.811402 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:51:32.893705 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:52:03.875212 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:52:33.111644 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:53:03.425128 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:53:32.389362 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:54:03.500131 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:54:32.430294 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:55:03.880007 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:55:32.632792 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:56:03.551227 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:56:32.928257 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:57:04.108676 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:57:33.125468 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:58:03.237037 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:58:32.326957 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:59:04.200377 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 00:59:32.507468 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:00:03.439906 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:00:32.613813 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:01:03.451839 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:01:32.729414 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:02:03.442068 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:02:32.874060 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:03:03.755588 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:03:33.004157 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:04:03.159838 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:04:32.171690 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:05:03.356298 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:05:32.314929 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:06:03.247407 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:06:32.642072 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:07:03.871011 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:07:32.817390 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:08:03.729182 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:08:33.038728 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:09:05.045777 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:09:33.260626 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:10:03.042191 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:10:32.377284 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:11:03.593685 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:11:32.590934 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:12:03.370840 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:12:32.811199 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:13:04.332290 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:13:33.043438 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:14:04.337149 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:14:33.110641 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:15:03.360818 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:15:32.268982 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:16:03.195341 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:16:32.352163 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:17:03.383691 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:17:32.550386 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:18:03.359524 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:18:32.809687 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:19:04.545110 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:19:33.140218 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:20:03.005302 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:20:32.263742 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:21:03.627194 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:21:32.423165 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:22:03.317155 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:22:32.625539 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:23:03.816460 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:23:32.753787 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:24:03.952895 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:24:32.937879 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:25:04.170972 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:25:33.138236 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:26:03.122351 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:26:32.265414 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:27:03.704154 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:27:32.505508 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:28:03.517378 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:28:32.699397 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:29:04.464251 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:29:32.830567 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:30:03.669529 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:30:32.909170 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:31:03.930190 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:31:33.139073 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:32:02.995390 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:32:32.380190 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:33:03.349155 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:33:32.536891 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:34:04.214175 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:34:32.731009 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:35:03.792827 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:35:32.949328 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:36:03.999417 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:36:33.060575 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:37:04.718406 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:37:33.166809 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:38:03.327538 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:38:32.452569 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:39:03.974089 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:39:32.612014 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:40:03.531744 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:40:32.687356 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:41:04.055247 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:41:32.885032 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:42:03.749737 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:42:33.079095 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:43:04.359228 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:43:33.207324 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:44:03.739985 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:44:32.608257 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:45:04.160257 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:45:32.806987 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:46:03.771210 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:46:32.945921 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:47:03.850451 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:47:33.029102 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:48:02.839335 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:48:32.337544 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:49:03.929408 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:49:32.417415 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:50:03.215851 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:50:32.714252 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:51:04.164861 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:51:32.938668 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:52:04.034401 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:52:33.084510 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:53:03.447786 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:53:32.291499 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:54:03.912082 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:54:32.476519 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:55:03.840480 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:55:32.569839 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:56:03.825132 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:56:32.861009 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:57:04.192774 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:57:32.984984 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:58:04.067084 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:58:33.284097 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:59:04.128585 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 01:59:32.484928 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:00:03.511079 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:00:32.626629 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:01:04.036204 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:01:32.878827 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:02:03.610184 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:02:33.003212 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:03:04.032467 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:03:33.125971 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:04:03.352512 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:04:32.192550 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:05:03.360047 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:05:32.404464 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:06:03.098815 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:06:32.477404 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:07:03.835280 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:07:32.641993 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:08:03.467057 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:08:32.823552 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:09:04.697078 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:09:33.030931 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:10:03.928081 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:10:33.177411 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:11:03.471100 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:11:32.410402 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:12:03.392322 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:12:32.584846 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:13:03.898371 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:13:32.753703 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:14:04.124875 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:14:32.909622 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:15:04.309201 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:15:33.057604 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:16:04.149257 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:16:33.288520 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:17:03.503507 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:17:32.473535 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:18:03.591802 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:18:32.726878 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:19:04.441579 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:19:32.821660 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:20:03.529275 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:20:32.911963 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:21:04.108374 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:21:33.112659 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:22:02.724937 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:22:32.216431 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:23:03.140538 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:23:32.360002 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:24:03.541383 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:24:32.606473 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:25:03.907065 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:25:32.867285 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:26:03.793507 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:26:33.125773 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:27:03.541850 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:27:32.285657 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:28:03.317799 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:28:32.446905 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:29:04.205856 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:29:32.650100 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:30:03.457501 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:30:32.744115 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:31:04.276147 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:31:32.987994 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:32:04.099991 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:32:33.169133 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:33:03.312515 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:33:32.316848 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:34:03.687843 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:34:32.375097 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:35:03.494041 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:35:32.649731 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:36:03.684436 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:36:32.877839 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:37:04.178370 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:37:32.995324 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:38:03.979443 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:38:33.096603 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:39:03.952466 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:39:32.388616 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:40:03.310624 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:40:32.572693 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:41:03.845684 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:41:32.748589 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:42:03.419749 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:42:32.991953 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:43:03.055721 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:43:32.261495 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:44:03.654449 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:44:32.446632 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:45:03.812230 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:45:32.643668 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:46:04.005472 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:46:32.872731 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:47:04.229460 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:47:32.933497 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:48:04.000181 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:48:33.125294 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:49:03.890849 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:49:32.326150 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:50:03.243197 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:50:32.434632 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:51:03.886980 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:51:32.711826 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:52:03.380749 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:52:32.913319 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:53:04.176198 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:53:33.090443 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:54:03.663520 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:54:32.252349 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:55:03.571168 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:55:32.405829 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:56:03.121749 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:56:32.462520 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:57:03.466305 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:57:32.627619 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:58:03.270848 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:58:33.031575 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:59:04.985625 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 02:59:33.217975 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:00:03.004132 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:00:32.380940 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:01:04.010267 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:01:32.631782 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:02:03.430692 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:02:32.739535 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:03:03.689626 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:03:32.914474 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:04:04.647801 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:04:33.002662 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:05:04.489541 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:05:33.284518 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:06:03.205033 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:06:32.388540 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:07:03.496006 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:07:32.533744 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:08:03.516386 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:08:32.722193 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:09:04.593905 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:09:32.951576 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:10:03.830625 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:10:33.112226 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:11:03.328324 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:11:32.295048 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:12:03.048473 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:12:32.539617 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:13:03.478249 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:13:32.603107 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:14:03.876278 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:14:32.807461 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:15:04.280072 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:15:33.094215 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:16:04.020806 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:16:33.265793 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:17:03.787271 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:17:32.453604 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:18:03.573878 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:18:32.637108 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:19:04.042130 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:19:32.815319 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:20:03.741645 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:20:32.956123 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:21:04.267250 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:21:33.101531 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:22:03.973522 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:22:33.268532 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:23:03.804556 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:23:32.425310 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:24:03.624794 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:24:32.640343 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:25:03.986795 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:25:32.885950 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:26:03.767007 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:26:33.099882 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:27:04.120619 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:27:33.207879 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:28:03.424700 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:28:32.479452 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:29:04.130486 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:29:32.577845 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:30:03.427381 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:30:32.717230 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:31:03.819875 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:31:32.897317 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:32:03.557943 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:32:33.029246 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:33:03.178546 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:33:32.126004 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:34:03.215848 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:34:32.294923 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:35:03.299212 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:35:32.602908 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:36:03.386903 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:36:32.667333 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:37:03.972616 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:37:32.801716 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:38:03.765021 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:38:33.041779 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:39:03.807428 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:39:32.173288 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:40:03.267754 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:40:32.421179 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:41:03.486771 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:41:32.598931 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:42:03.619278 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:42:32.837005 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:43:04.163310 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:43:32.973824 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:44:04.265667 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:44:33.151429 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:45:03.289546 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:45:32.341224 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:46:03.478057 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:46:32.443807 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:47:03.909741 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:47:32.641195 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:48:03.632435 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:48:32.744074 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:49:04.470146 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:49:33.041430 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:50:03.973932 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:50:33.190029 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:51:03.443568 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:51:32.276585 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:52:03.137075 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:52:32.408522 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:53:03.757557 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:53:32.681585 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:54:04.045361 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:54:32.904848 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:55:04.264614 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:55:33.012765 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:56:03.875932 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:56:33.247560 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:57:03.819179 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:57:32.384311 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:58:03.260100 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:58:32.677194 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:59:04.501926 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 03:59:32.726796 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:00:03.458011 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:00:32.869615 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:01:03.852374 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:01:33.102376 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:02:02.868192 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:02:32.300812 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:03:03.202497 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:03:32.422775 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:04:03.631536 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:04:32.645055 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:05:03.861124 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:05:32.831593 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:06:03.791748 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:06:33.037837 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:07:04.426074 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:07:33.302373 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:08:03.249563 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:08:32.441000 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:09:04.306045 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:09:32.702173 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:10:03.766068 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:10:32.849847 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:11:04.182087 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:11:33.003368 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:12:03.939682 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:12:33.115240 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:13:03.206455 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:13:32.333907 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:14:03.613915 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:14:32.436924 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:15:03.788542 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:15:32.808674 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:16:03.777083 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:16:33.134791 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:17:03.179285 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:17:32.286223 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:18:03.225821 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:18:32.414623 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:19:04.228881 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:19:32.748805 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:20:03.739659 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:20:33.017890 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:21:04.306801 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:21:33.143410 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:22:03.050462 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:22:32.222912 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:23:03.609163 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:23:32.585942 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:24:04.078744 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:24:32.826312 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:25:03.852233 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:25:32.952844 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:26:03.662656 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:26:33.141500 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:27:03.256579 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:27:32.298361 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:28:03.007031 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:28:32.533160 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:29:04.349488 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:29:32.706860 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:30:03.824931 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:30:32.949192 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:31:04.420726 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:31:33.247454 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:32:03.125616 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:32:32.423307 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:33:03.945979 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:33:32.573840 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:34:04.214100 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:34:32.687548 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:35:03.974837 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:35:32.969804 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:36:04.003776 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:36:33.121151 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:37:03.367306 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:37:32.283804 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:38:03.294209 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:38:32.551420 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:39:04.230745 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:39:32.653839 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:40:03.642119 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:40:32.859879 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:41:04.041208 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:41:32.990825 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:42:03.768630 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:42:33.158506 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:43:03.253740 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:43:32.375164 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:44:03.563403 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:44:32.593653 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:45:03.916833 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:45:32.766012 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:46:03.459422 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:46:32.976929 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:47:04.314068 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:47:33.297316 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:48:03.154482 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:48:32.493556 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:49:04.290768 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:49:32.896614 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:50:03.754327 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:50:33.013200 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:51:04.137805 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:51:33.217337 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:52:03.211515 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:52:32.307439 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:53:03.728791 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:53:32.605073 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:54:04.260235 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:54:32.747498 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:55:04.075307 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:55:33.027006 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:56:03.875774 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:56:33.249344 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:57:03.790596 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:57:32.352195 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:58:03.299137 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:58:32.716168 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:59:04.496015 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 04:59:32.906046 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:00:03.655848 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:00:32.980511 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:01:03.954065 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:01:33.071677 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:02:02.861040 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:02:32.270830 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:03:03.060137 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:03:32.388993 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:04:03.478170 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:04:32.489626 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:05:03.580031 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:05:32.679656 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:06:03.389420 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:06:32.865299 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:07:03.802574 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:07:33.136596 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:08:02.956073 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:08:32.338581 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:09:04.141266 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:09:32.614611 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:10:03.419887 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:10:32.813599 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:11:03.960211 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:11:32.987619 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:12:03.913998 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:12:33.271194 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:13:03.419790 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:13:32.548801 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:14:03.837442 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:14:32.763834 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:15:04.025004 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:15:32.973699 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:16:03.869056 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:16:33.110321 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:17:03.214425 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:17:32.294611 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:18:03.142303 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:18:32.505549 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:19:04.538335 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:19:32.679064 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:20:03.718810 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:20:32.737004 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:21:04.179533 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:21:32.903947 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:22:03.903415 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:22:33.073656 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:23:04.546813 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:23:33.213763 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:24:03.440898 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:24:32.282882 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:25:03.890846 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:25:32.552271 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:26:03.394609 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:26:32.727277 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:27:03.813798 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:27:33.017210 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:28:03.961539 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:28:33.199407 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:29:03.865237 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:29:32.318745 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:30:03.366323 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:30:32.470681 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:31:03.731656 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:31:32.623390 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:32:03.696870 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:32:32.821914 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:33:04.029743 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:33:32.952080 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:34:03.804392 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:34:33.091249 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:35:03.247672 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:35:32.293823 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:36:03.388327 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:36:32.419166 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:37:03.608318 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:37:32.536110 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:38:03.253141 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:38:32.659041 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:39:04.134106 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:39:32.918227 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:40:03.651879 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:40:33.137868 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:41:03.082710 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:41:32.268101 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:42:02.926354 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:42:32.480829 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:43:03.392308 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:43:32.703038 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:44:03.881024 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:44:32.873381 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:45:04.151431 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:45:33.032116 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:46:02.788854 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:46:32.154754 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:47:03.252086 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:47:32.368884 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:48:03.293462 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:48:32.575635 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:49:04.045271 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:49:32.680580 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:50:03.598135 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:50:32.898780 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:51:04.217874 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:51:33.018030 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:52:03.895037 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:52:33.168967 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:53:03.648222 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:53:32.435537 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:54:03.864608 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:54:32.572517 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:55:03.726848 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:55:32.866283 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:56:03.936032 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:56:33.040587 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:57:04.105705 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:57:33.176058 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:58:03.148571 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:58:32.384490 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:59:04.213193 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 05:59:32.524623 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:00:03.549334 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:00:32.658154 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:01:04.107484 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:01:32.761119 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:02:03.709247 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:02:32.827938 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:03:03.888302 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:03:32.998113 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:04:04.578631 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:04:33.317623 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:05:03.413956 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:05:32.523259 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:06:03.446739 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:06:32.740767 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:07:04.188255 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:07:32.894465 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:08:03.782080 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:08:33.026956 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:09:05.246446 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:09:33.356832 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:10:03.553341 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:10:32.437237 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:11:03.673107 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:11:32.673451 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:12:03.564653 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:12:32.820320 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:13:04.251782 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:13:32.974079 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:14:04.121964 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:14:33.181640 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:15:03.549876 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:15:32.394498 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:16:02.999469 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:16:32.581338 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:17:03.995510 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:17:32.786873 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:18:03.831492 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:18:32.951274 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:19:04.718909 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:19:33.130634 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:20:03.130030 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:20:32.333275 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:21:03.665290 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:21:32.481237 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:22:03.647374 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:22:32.580778 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:23:04.014549 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:23:32.797287 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:24:04.870202 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:24:32.905149 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:25:04.346393 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:25:33.244290 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:26:03.421805 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:26:32.331378 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:27:03.638914 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:27:32.524152 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:28:03.508396 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:28:32.650520 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:29:04.734204 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:29:32.814296 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:30:03.841329 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:30:33.030113 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:31:04.680454 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:31:33.137753 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:32:03.788201 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:32:32.324736 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:33:04.188591 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:33:32.633713 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:34:04.522859 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:34:32.818380 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:35:04.537236 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:35:32.939224 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:36:04.222591 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:36:33.055314 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:37:03.757732 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:37:32.251043 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:38:03.451812 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:38:32.371034 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:39:04.526308 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:39:32.629164 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:40:03.872796 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:40:32.869708 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:41:04.481523 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:41:33.020427 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:42:05.048004 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:42:33.301870 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:43:03.661187 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:43:32.330211 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:44:04.103108 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:44:32.599891 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:45:04.282377 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:45:32.777750 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:46:03.780523 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:46:32.978664 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:47:04.856111 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:47:33.101526 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:48:04.332686 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:48:33.365213 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:49:04.097381 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:49:32.563212 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:50:03.837723 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:50:32.632272 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:51:04.838227 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:51:32.846162 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:52:04.210559 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:52:32.943308 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:53:04.345740 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:53:33.056970 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:54:04.993184 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:54:33.259416 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:55:04.120171 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:55:32.411117 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:56:03.880888 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:56:32.503806 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:57:04.268554 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:57:32.634721 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:58:32.907421 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:59:05.165165 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 06:59:33.147897 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:00:03.628620 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:00:32.259229 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:01:04.082576 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:01:32.402108 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:02:03.848720 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:02:32.631984 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:03:04.596278 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:03:32.959174 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:04:04.587064 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:04:32.975375 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:05:04.366538 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:05:33.304672 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:06:03.684968 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:06:32.448724 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:07:04.071160 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:07:32.637834 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:08:03.456647 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:08:32.742308 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:09:04.762219 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:09:32.859414 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:10:04.047537 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:10:33.057861 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:11:03.755046 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:11:32.192417 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:12:03.197327 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:12:32.274629 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:13:03.943178 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:13:32.482910 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:14:04.288644 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:14:32.714109 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:15:04.570821 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:15:32.962783 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:16:04.562863 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:16:33.176713 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:17:03.973274 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:17:32.319309 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:18:03.786070 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:18:32.524862 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:19:05.005911 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:19:32.777715 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:20:03.956071 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:20:32.992103 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:21:05.062646 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:21:33.231380 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:22:03.902259 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:22:32.449353 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:23:04.386004 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:23:32.555424 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:24:04.576759 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:24:32.740451 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:25:04.841169 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:25:32.916655 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:26:04.411260 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:26:33.058887 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:27:04.803474 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:27:33.342751 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:28:03.575411 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:28:32.462791 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:29:04.514492 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:29:32.688920 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:30:04.035904 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:30:32.831228 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:31:04.454669 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:31:33.094915 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:32:04.551311 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:32:33.292327 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:33:04.264560 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:33:32.716760 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:34:04.477023 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:34:32.837225 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:35:04.419314 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:35:33.130740 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:36:03.465991 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:36:32.270175 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:37:03.786245 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:37:32.471278 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:38:03.784867 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:38:32.656433 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:39:05.189741 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:39:32.852647 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:40:03.833614 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:40:32.959156 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:41:04.891525 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:41:33.149531 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:42:03.284704 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:42:32.439800 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:43:03.953614 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:43:32.648967 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:44:04.460179 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:44:33.004584 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:45:04.935525 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:45:33.158441 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:46:03.529914 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:46:32.335843 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:47:03.992093 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:47:32.529740 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:48:04.097241 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:48:32.654490 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:49:04.825022 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:49:32.820709 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:50:04.156901 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:50:32.977868 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:51:04.891063 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:51:33.115869 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:52:04.801612 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:52:33.222883 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:53:04.233715 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:53:32.435644 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:54:04.347051 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:54:32.530515 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:55:04.346334 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:55:32.760521 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:56:04.098332 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:56:33.048486 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:57:05.127066 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:57:33.183822 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:58:03.632057 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:58:32.496465 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:59:05.105508 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 07:59:32.676440 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:00:04.197546 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:00:32.864613 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:01:04.871124 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:01:32.964201 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:02:04.277807 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:02:33.053960 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:03:03.908627 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:03:32.284073 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:04:03.978190 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:04:32.441239 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:05:03.992224 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:05:32.556769 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:06:03.928556 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:06:32.794191 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:07:04.437044 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:07:32.918026 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:08:03.861877 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:08:32.988904 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:09:05.003716 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:09:33.355471 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:10:03.495185 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:10:32.514485 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:11:04.149037 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:11:32.826358 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:12:03.883618 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:12:33.029509 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:13:04.258215 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:13:33.158131 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:14:03.861489 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:14:32.600629 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:15:04.151288 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:15:32.799577 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:16:04.031327 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:16:33.071012 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:17:04.864211 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:17:33.298173 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:18:03.872308 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:18:32.570311 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:19:04.826540 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:19:32.912725 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:20:04.424287 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:20:33.080938 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:21:05.019699 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:21:33.317177 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:22:03.552293 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:22:32.647722 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:23:04.500138 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:23:32.833495 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:24:04.507174 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:24:33.052217 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:25:05.008598 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:25:33.331507 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:26:03.729705 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:26:32.530911 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:27:04.514219 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:27:32.660482 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:28:04.126255 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:28:32.887581 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:29:05.430281 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:29:33.027168 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:30:04.427928 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:30:33.122537 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:31:03.725868 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:31:32.431882 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:32:03.609934 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:32:32.574355 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:33:04.607750 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:33:32.878435 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:34:04.155763 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:34:32.798446 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:35:04.044681 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:35:32.925842 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:36:03.711461 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:36:33.014765 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:37:03.591170 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:37:32.378505 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:38:03.319578 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:38:32.496612 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:39:04.069657 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:39:32.612643 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:40:03.404352 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:40:32.692585 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:41:03.977806 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:41:32.943474 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:42:04.072448 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:42:33.074094 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:43:03.389443 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:43:32.246378 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:44:03.851080 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:44:32.417851 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:45:03.877572 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:45:32.610221 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:46:03.625676 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:46:32.795080 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:47:04.392179 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:47:33.043400 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:48:03.248696 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:48:32.167695 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:49:04.237328 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:49:32.486300 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:50:03.884373 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:50:32.745574 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:51:04.412474 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:51:32.904882 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:52:03.889478 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:52:33.011557 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:53:04.779362 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:53:33.306560 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:54:03.642398 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:54:32.561495 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:55:03.800349 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:55:32.682536 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:56:03.762279 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:56:32.800385 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:57:04.342115 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:57:32.971855 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:58:04.271996 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:59:05.131730 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 08:59:33.215328 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:00:03.333669 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:00:32.464661 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:01:04.211637 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:01:32.609069 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:02:04.042474 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:02:32.803636 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:03:04.311771 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:03:33.031829 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:04:04.507375 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:04:33.167615 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:05:03.549371 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:05:32.363037 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:06:03.549881 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:06:32.486632 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:07:04.064269 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:07:32.590744 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:08:03.797454 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:08:32.741457 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:09:04.637613 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:09:33.021808 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:10:03.173811 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:10:32.274835 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:11:03.711820 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:11:32.358737 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:12:03.544244 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:12:32.512447 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:13:03.778618 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:13:32.579061 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:14:03.829207 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:14:32.831570 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:15:03.945861 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:15:33.016347 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:16:02.940356 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:16:32.192496 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:17:03.532487 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:17:32.376503 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:18:03.291375 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:18:32.666143 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:19:04.251617 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:19:32.922194 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:20:03.975810 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:20:33.158553 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:21:03.657149 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:21:32.315995 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:22:03.232230 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:22:32.480805 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:23:03.927419 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:23:32.713348 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:24:04.049772 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:24:32.941056 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:25:04.460229 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:25:33.185462 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:26:03.387198 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:26:32.386289 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:27:03.590970 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:27:32.716291 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:28:04.029322 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:28:32.864945 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:29:04.811868 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:29:33.043110 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:30:03.109629 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:30:32.165797 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:31:03.674850 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:31:32.285514 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:32:03.632315 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:32:32.583521 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:33:04.192754 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:33:32.668902 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:34:04.477925 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:34:32.799093 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:35:04.493897 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:35:32.929177 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:36:04.332278 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:36:33.063947 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:37:03.490545 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:37:32.226089 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:38:03.671961 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:38:32.344795 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:39:04.369297 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:39:32.468882 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:40:03.552834 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:40:32.569146 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:41:04.150139 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:41:32.711610 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:42:03.624394 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:42:32.871233 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:43:04.275117 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:43:32.968035 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:44:04.391960 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:44:33.119783 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:45:03.612697 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:45:32.297419 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:46:03.570889 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:46:32.580554 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:47:04.030592 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:47:32.685604 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:48:03.527588 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:48:32.796570 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:49:04.233793 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:49:32.914274 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:50:03.769957 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:50:32.978590 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:51:03.147378 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:51:32.159082 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:52:02.963575 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:52:32.247001 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:53:03.575454 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:53:32.373460 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:54:03.624024 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:54:32.489780 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:55:04.441515 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:55:32.827515 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:56:04.058558 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:56:32.955108 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:57:04.799122 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:57:33.157268 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:59:04.853272 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 09:59:32.741858 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:00:04.025175 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:00:32.911858 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:01:04.891048 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:01:33.108480 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:02:03.597051 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:02:32.431627 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:03:03.619986 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:03:32.495236 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:04:04.327965 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:04:32.697878 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:05:04.576079 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:05:32.868557 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:06:04.025169 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:06:33.149384 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:07:03.771121 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:07:32.316222 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:08:03.917683 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:08:32.478855 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:09:04.678959 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:09:32.630541 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:10:04.217281 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:10:32.753924 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:11:04.445259 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:11:33.076491 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:12:04.504112 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:12:33.280248 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:13:03.976600 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:13:32.419859 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:14:04.134455 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:14:32.597356 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:15:04.358940 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:15:32.720853 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:16:04.038923 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:16:32.856117 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:17:04.782905 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:17:33.018744 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:18:04.184494 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:18:33.184840 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:19:04.589349 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:19:32.606346 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:20:03.955281 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:20:32.713427 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:21:04.028804 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:21:32.967587 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:22:04.073135 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:22:33.194798 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:23:03.771475 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:23:32.410527 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:24:04.064994 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:24:32.562397 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:25:04.337113 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:25:32.678601 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:26:03.592173 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:26:32.785281 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:27:04.521063 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:27:33.014872 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:28:04.245975 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:28:33.185515 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:29:04.321921 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:29:32.380355 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:30:03.345675 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:30:32.513928 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:31:04.217934 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:31:32.801509 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:32:04.105634 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:32:32.966066 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:33:04.614381 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:33:33.134423 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:34:04.101818 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:34:32.190103 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:35:04.106804 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:35:32.543537 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:36:04.061614 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:36:32.611193 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:37:04.634260 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:37:32.798722 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:38:04.370383 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:38:32.938008 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:39:05.210296 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:39:33.090777 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:40:04.526510 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:40:33.275996 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:41:03.995849 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:41:32.420304 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:42:03.789099 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:42:32.593807 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:43:04.696149 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:43:32.787103 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:44:04.701375 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:44:32.974336 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:45:04.953076 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:45:33.137788 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:46:03.635356 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:46:32.259969 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:47:04.186905 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:47:32.436669 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:48:03.997552 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:48:32.755728 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:49:04.711922 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:49:33.072369 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:50:04.901564 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:50:33.249530 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:51:03.818421 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:51:32.600457 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:52:04.043525 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:52:32.860112 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:53:04.424833 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:53:33.070723 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:54:05.131346 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:54:33.139414 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:55:03.937695 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:55:32.381523 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:56:03.679132 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:56:32.643687 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:57:04.539464 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:57:32.797312 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:58:04.208231 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:59:05.273329 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 10:59:32.782568 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:00:04.078680 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:00:32.988163 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:01:04.704072 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:01:33.230069 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:02:03.665090 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:02:32.403040 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:03:04.303217 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:03:32.701009 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:04:04.293925 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:04:32.786065 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:05:04.378322 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:05:32.924114 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:06:04.118098 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:06:33.207901 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:07:03.588996 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:07:32.388604 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:08:03.526761 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:08:32.646474 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:09:04.563385 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:09:32.839847 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:10:04.243032 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:10:33.017726 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:11:04.804531 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:11:33.223120 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:12:03.553112 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:12:32.297364 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:13:04.076235 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:13:32.485307 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:14:04.495699 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:14:32.685379 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:15:04.480142 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:15:32.879672 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:16:04.405540 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:16:33.035988 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:17:05.065151 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:17:33.293843 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:18:04.035627 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:18:32.404133 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:19:04.700406 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:19:32.657492 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:20:03.758342 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:20:32.848494 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:21:04.711442 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:21:33.263010 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:22:03.553447 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:22:32.432827 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:23:04.268899 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:23:32.564864 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:24:04.484674 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:24:32.748495 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:25:04.435219 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:25:32.917872 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:26:04.262699 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:26:33.016118 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:27:04.938258 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:27:33.208044 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:28:03.470341 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:28:32.571335 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:29:04.833428 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:29:32.711806 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:30:03.748219 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:30:32.859187 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:31:04.722713 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:31:33.029826 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:32:04.401834 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:32:33.101548 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:33:03.955399 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:33:32.306298 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:34:04.447168 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:34:32.476916 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:35:04.279695 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:35:32.604788 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:36:03.949703 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:36:32.719419 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:37:04.567958 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:37:33.006582 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:38:04.636285 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:38:33.230146 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:39:04.097333 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:39:32.441670 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:40:03.494294 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:40:32.560215 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:41:04.148287 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:41:32.616780 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:42:03.729111 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:42:32.824255 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:43:04.549033 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:43:33.055361 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:44:03.517217 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:44:32.373531 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:45:04.234244 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:45:32.653771 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:46:04.398819 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:46:32.823502 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:47:04.652107 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:47:33.169196 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:48:03.783478 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:48:32.254907 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:49:04.589623 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:49:32.447050 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:50:04.122566 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:50:32.596649 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:51:04.482715 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:51:32.808999 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:52:03.915599 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:52:32.950354 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:53:04.851629 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:53:33.108989 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:54:04.665093 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:54:33.368226 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:55:04.093373 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:55:32.620779 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:56:03.758718 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:56:32.831390 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:57:04.641730 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:57:33.026318 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:58:04.190249 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:58:33.188536 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:59:04.317914 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 11:59:32.446909 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:00:04.009519 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:00:32.608062 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:01:04.404587 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:01:32.803893 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:02:04.335530 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:02:33.068793 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:03:04.825382 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:03:33.219579 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:04:03.975529 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:04:32.338930 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:05:03.968733 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:05:32.576801 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:06:04.054155 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:06:32.987389 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:07:04.593430 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:07:33.163164 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:08:03.814775 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:08:32.302071 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:09:04.953757 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:09:32.681630 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:10:04.156215 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:10:32.834673 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:11:04.824634 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:11:32.971168 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:12:04.226800 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:12:33.113149 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:13:04.159919 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:13:32.256529 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:14:04.316448 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:14:32.502957 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:15:04.472485 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:15:32.755123 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:16:04.236421 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:16:33.019590 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:17:04.855018 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:17:33.268618 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:18:03.706997 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:18:32.401063 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:19:04.689514 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:19:32.628910 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:20:03.910965 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:20:32.751611 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:21:04.697724 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:21:33.119588 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:22:04.318046 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:22:33.160699 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:23:03.819638 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:23:32.332851 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:24:03.973915 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:24:32.506375 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:25:04.063018 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:25:32.592527 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:26:03.606717 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:26:32.672305 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:27:04.300745 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:27:32.919026 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:28:04.088636 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:28:33.124879 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:29:04.240391 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:29:32.339838 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:30:03.490331 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:30:32.495476 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:31:03.893149 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:31:32.816438 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:32:03.984375 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:32:32.937183 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:33:04.851632 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:33:33.213118 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:34:04.259271 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:34:32.313039 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:35:04.128669 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:35:32.437010 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:36:03.826297 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:36:32.654967 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:37:04.557878 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:37:32.954939 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:38:04.218776 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:38:33.208568 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:39:04.395810 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:39:32.416790 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:40:03.960882 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:40:32.625317 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:41:04.603446 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:41:32.960259 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:42:04.236091 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:42:33.035811 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:43:04.910812 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:43:33.446607 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:44:04.463743 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:44:32.764132 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:45:04.450627 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:45:32.988147 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:46:04.512630 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:46:33.240293 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:47:03.760051 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:47:32.609919 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:48:03.733715 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:48:32.934434 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:49:05.063975 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:49:33.029544 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:50:04.263330 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:50:33.277123 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:51:04.216114 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:51:32.442523 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:52:04.047093 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:52:32.602832 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:53:04.425547 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:53:32.767627 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:54:04.889756 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:54:32.990613 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:55:04.631889 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:55:33.176148 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:56:03.423518 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:56:32.366986 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:57:04.490694 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:57:32.524107 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:59:05.138040 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 12:59:33.096122 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:00:03.685670 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:00:32.231351 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:01:04.209750 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:01:32.438860 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:02:03.602265 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:02:32.595594 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:03:04.278567 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:03:32.739298 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:04:04.349582 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:04:33.024982 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:05:03.735241 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:05:32.368230 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:06:03.342141 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:06:32.421690 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:07:03.863005 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:07:32.570332 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:08:03.559498 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:08:32.722847 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:09:04.688799 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:09:32.995396 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:10:03.944476 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:10:33.116244 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:11:03.355010 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:11:32.364933 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:12:03.468204 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:12:32.608475 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:13:03.990215 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:13:32.763166 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:14:04.544205 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:14:32.908566 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:15:04.597650 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:15:33.211384 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:16:03.371294 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:16:32.288571 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:17:03.945126 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:17:32.547313 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:18:03.818382 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:18:32.819770 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:19:05.225191 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:19:33.000382 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:20:04.299100 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:20:33.108229 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:21:03.347904 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:21:32.307403 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:22:03.804863 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:22:32.533112 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:23:04.094238 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:23:32.808732 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:24:04.559826 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:24:32.959424 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:25:04.612009 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:25:33.059819 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:26:04.324821 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:26:33.180832 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:27:03.914729 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:27:32.374708 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:28:03.886818 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:28:32.483258 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:29:04.654399 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:29:32.652017 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:30:03.754299 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:30:32.788296 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:31:04.715262 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:31:32.993438 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:32:04.035368 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:32:33.193128 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:33:03.890233 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:33:32.493193 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:34:04.468087 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:34:32.681357 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:35:04.109696 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:35:32.898597 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:36:04.300348 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:36:33.175332 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:37:03.875978 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:37:32.295997 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:38:03.745270 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:38:32.512911 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:39:04.726151 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:39:32.787358 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:40:04.105289 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:40:33.118108 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:41:03.711006 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:41:32.254467 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:42:03.583973 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:42:32.494743 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:43:04.291402 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:43:32.689141 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:44:04.729125 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:44:32.740265 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:45:04.282792 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:45:32.886987 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:46:03.922607 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:46:33.213589 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:47:03.746311 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:47:32.316788 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:48:03.312869 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:48:32.380070 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:49:04.141990 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:49:32.566516 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:50:03.757429 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:50:32.902120 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:51:04.743643 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:51:33.192709 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:52:03.099560 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:52:32.382695 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:53:03.897809 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:53:32.601593 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:54:04.100537 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:54:32.861732 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:55:04.654914 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:55:33.082598 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:56:04.347965 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:56:33.260439 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:57:04.044430 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:57:32.403780 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:58:03.658747 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:58:32.630621 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:59:04.703136 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 13:59:32.936310 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:00:04.540822 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:00:33.088241 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:01:04.528792 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:01:33.306173 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:02:03.966121 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:02:32.622073 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:03:04.544256 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:03:32.718258 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:04:04.314019 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:04:32.842005 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:05:04.855482 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:05:33.071166 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:06:04.395989 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:06:33.194099 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:07:03.910670 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:07:32.347939 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:08:03.763385 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:08:32.525674 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:09:04.588658 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:09:32.792107 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:10:03.914642 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:10:33.040561 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:11:04.599544 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:11:33.240809 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:12:03.478195 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:12:32.442816 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:13:03.895421 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:13:32.520786 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:14:04.069447 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:14:32.748391 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:15:04.441482 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:15:32.827380 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:16:04.220266 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:16:33.087407 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:17:03.621336 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:17:32.223389 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:18:03.261743 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:18:32.362902 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:19:04.217395 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:19:32.493752 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:20:03.945133 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:20:32.639841 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:21:04.056912 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:21:32.734047 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:22:03.832470 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:22:32.845561 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:23:04.458608 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:23:33.148942 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:24:04.038769 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:24:32.309917 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:25:03.849927 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:25:32.379619 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:26:03.340994 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:26:32.499725 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:27:04.118055 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:27:32.606094 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:28:03.529483 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:28:32.747585 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:29:05.076658 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:29:33.036924 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:30:04.418470 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:30:33.247346 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:31:03.393428 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:31:32.434037 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:32:03.899923 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:32:32.546646 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:33:04.173590 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:33:32.832773 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:34:04.672439 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:34:32.966010 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:35:04.681110 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:35:33.130590 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:36:03.450080 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:36:32.350272 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:37:04.227612 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:37:32.473052 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:38:03.657077 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:38:32.637934 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:39:04.274476 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:39:32.791447 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:40:03.844450 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:40:32.968444 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:41:04.634278 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:41:33.084845 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:42:04.366650 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:42:33.319417 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:43:04.206361 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:43:32.426358 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:44:04.338657 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:44:32.636730 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:45:04.283480 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:45:32.707668 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:46:04.040610 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:46:32.857356 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:47:04.391300 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:47:33.086482 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:48:04.513366 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:48:33.275357 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:49:04.520169 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:49:32.592802 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:50:03.755462 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:50:32.850263 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:51:04.157629 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:51:33.030183 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:52:04.615571 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:52:33.142209 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:53:03.960745 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:53:32.317120 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:54:04.055609 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:54:32.519835 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:55:04.179387 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:55:32.639974 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:56:04.162123 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:56:32.804879 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:57:04.251661 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:57:32.904577 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:58:03.942059 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:59:04.441686 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 14:59:32.638696 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:00:03.671700 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:00:32.791281 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:01:04.102323 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:01:32.957026 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:02:03.976869 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:02:33.062351 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:03:03.784361 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:03:32.252245 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:04:03.775417 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:04:32.321632 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:05:03.986129 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:05:32.474854 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:06:03.547014 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:06:32.711778 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:07:04.608522 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:07:33.023080 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:08:04.481762 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:08:33.166316 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:09:04.388400 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:09:32.528410 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:10:04.045056 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:10:32.708992 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:11:04.286369 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:11:32.968604 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:12:04.626727 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:12:33.115236 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:13:03.806877 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:13:32.242578 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:14:04.328431 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:14:32.431509 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:15:04.090148 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:15:32.791912 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:16:03.960976 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:16:32.951017 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:17:04.774757 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:17:33.152850 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:18:03.685188 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:18:32.263789 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:19:04.218642 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:19:32.399624 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:20:03.843443 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:20:32.711529 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:21:04.312136 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:21:32.892484 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:22:04.070612 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:22:32.989568 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:23:04.577758 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:23:33.214561 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:24:04.012607 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:24:32.391483 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:25:03.958788 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:25:32.544008 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:26:03.915261 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:26:32.673465 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:27:04.363894 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:27:32.777198 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:28:04.092558 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:28:32.873326 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:29:05.059019 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:29:33.111497 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:30:03.504305 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:30:32.248004 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:31:03.852907 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:31:32.403765 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:32:03.743757 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:32:32.519911 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:33:03.944858 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:33:32.721901 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:34:04.244733 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:34:32.811327 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:35:04.625134 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:35:32.990774 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:36:04.210422 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:36:33.137873 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:37:04.005332 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:37:32.310564 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:38:03.596160 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:38:32.604892 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:39:04.589153 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:39:32.745167 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:40:04.149510 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:40:32.929209 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:41:04.818526 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:41:33.205736 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:42:03.464126 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:42:32.360738 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:43:04.082036 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:43:32.479830 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:44:04.135527 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:44:32.598546 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:45:04.265538 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:45:32.849440 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:46:04.315429 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:46:32.998216 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:47:03.731283 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:47:32.272557 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:48:03.375685 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:48:32.350075 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:49:04.356538 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:49:32.450913 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:50:03.625665 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:50:32.562601 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:51:04.430146 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:51:32.733183 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:52:03.970301 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:52:33.065413 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:53:03.614222 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:53:32.210375 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:54:03.745305 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:54:32.558762 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:55:04.337674 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:55:32.843820 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:56:04.325426 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:56:33.053218 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:57:04.736738 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:57:33.274640 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:58:03.440125 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:58:32.396255 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:59:04.616418 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 15:59:32.550117 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:00:03.921530 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:00:32.740193 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:01:04.340004 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:01:32.866644 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:02:04.044047 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:02:33.021249 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:03:04.710914 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:03:33.135234 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:04:03.978087 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:04:32.335129 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:05:04.024029 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:05:32.554442 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:06:03.920760 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:06:32.648551 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:07:04.258478 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:07:32.845870 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:08:04.387529 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:08:33.033519 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:09:05.093960 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:09:33.189223 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:10:03.554620 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:10:32.428916 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:11:03.750466 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:11:32.552719 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:12:04.060455 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:12:32.681983 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:13:04.120838 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:13:32.895139 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:14:04.593744 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:14:33.201218 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:15:03.842695 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:15:32.314564 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:16:03.562756 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:16:32.626021 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:17:04.321691 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:17:32.781361 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:18:04.077257 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:18:32.894930 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:19:05.147539 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:19:33.167530 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:20:03.271967 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:20:32.311735 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:21:03.903125 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:21:32.476942 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:22:04.013636 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:22:32.617065 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:23:04.316184 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:23:32.802512 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:24:04.189115 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:24:32.956636 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:25:04.264263 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:25:33.185716 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:26:03.344495 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:26:32.446782 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:27:04.189101 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:27:32.549355 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:28:03.623183 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:28:32.680463 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:29:04.703684 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:29:32.839235 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:30:03.803894 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:30:33.062293 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:31:03.405303 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:31:32.290462 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:32:03.256429 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:32:32.351308 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:33:04.347298 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:33:32.588628 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:34:04.323148 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:34:32.751944 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:35:04.313753 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:35:32.934797 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:36:04.105162 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:36:33.104385 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:37:04.804490 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:37:33.294049 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:38:03.608992 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:38:32.529971 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:39:04.660781 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:39:32.901472 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:40:04.365204 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:40:33.074864 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:41:04.574121 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:41:33.207404 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:42:03.362031 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:42:32.471331 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:43:04.015583 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:43:32.599157 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:44:04.614691 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:44:32.713262 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:45:04.420558 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:45:32.930802 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:46:04.336823 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:46:33.122901 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:47:04.881314 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:47:33.304950 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:48:03.532525 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:48:32.445714 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:49:04.520017 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:49:32.635818 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:50:04.128798 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:50:32.810252 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:51:04.636504 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:51:32.925242 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:52:04.450491 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:52:33.283816 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:53:04.088523 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:53:32.416177 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:54:04.413930 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:54:32.572888 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:55:04.231183 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:55:32.639360 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:56:03.908667 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:56:32.973460 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:57:04.601873 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:57:33.247125 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:59:04.999438 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 16:59:32.793719 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:00:04.121667 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:00:32.986400 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:01:04.771439 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:01:33.074010 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:02:03.375620 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:02:32.295105 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:03:04.002527 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:03:32.397657 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:04:04.079869 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:04:32.546357 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:05:04.024986 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:05:32.566629 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:06:03.803931 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:06:32.792653 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:07:04.129627 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:07:32.919353 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:08:04.049677 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:08:33.072267 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:09:03.925364 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:09:32.295347 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:10:03.264955 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:10:32.428891 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:11:03.913791 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:11:32.560524 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:12:04.053959 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:12:32.857647 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:13:04.580779 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:13:33.047234 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:14:04.696990 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:14:33.292180 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:15:03.846303 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:15:32.415976 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:16:03.878642 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:16:32.574265 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:17:04.364358 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:17:32.709218 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:18:04.236321 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:18:32.806862 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:19:04.884155 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:19:33.122281 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:20:03.405616 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:20:32.314557 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:21:03.995628 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:21:32.451579 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:22:04.054232 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:22:32.586227 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:23:04.334470 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:23:32.697197 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:24:04.208889 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:24:32.921427 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:25:04.610540 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:25:32.992191 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:26:04.517396 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:26:33.178416 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:27:03.891658 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:27:32.322899 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:28:03.480503 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:28:32.511169 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:29:04.776498 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:29:32.719008 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:30:04.036531 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:30:32.894202 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:31:04.661707 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:31:33.119626 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:32:03.479877 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:32:32.250797 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:33:04.021193 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:33:32.442064 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:34:04.613365 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:34:32.605448 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:35:04.534427 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:35:32.828749 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:36:04.120041 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:36:32.972173 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:37:04.556086 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:37:33.178425 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:38:03.479895 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:38:32.260113 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:39:04.190787 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:39:32.564773 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:40:04.033449 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:40:32.694675 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:41:04.187012 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:41:32.900873 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:42:03.814271 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:42:33.025925 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:43:03.908038 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:43:32.220515 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:44:03.799438 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:44:32.350234 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:45:03.381012 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:45:32.447843 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:46:03.455595 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:46:32.564998 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:47:04.291988 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:47:32.787570 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:48:03.930967 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:48:33.082355 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:49:04.134878 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:49:32.162398 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:50:03.016628 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:50:32.290468 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:51:04.033315 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:51:32.660528 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:52:04.049857 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:52:32.859759 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:53:04.466758 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:53:33.071121 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:54:04.973061 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:54:34.624474 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:55:04.178782 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:55:32.814204 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:56:04.101961 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:56:33.007318 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:57:04.856365 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:57:33.129980 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:58:03.441559 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:59:05.125655 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 17:59:33.078350 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:00:04.484865 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:00:33.205126 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:01:03.771336 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:01:32.367997 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:02:03.585922 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:02:32.426552 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:03:04.179645 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:03:32.589812 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:04:04.154466 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:04:32.725342 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:05:04.613048 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:05:32.894304 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:06:03.896027 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:06:33.200623 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:07:04.009406 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:07:32.365250 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:08:03.568399 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:08:32.511628 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:09:04.445591 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:09:32.659349 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:10:03.957095 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:10:32.896976 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:11:04.371489 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:11:33.076791 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:12:04.223423 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:12:33.239888 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:13:04.162073 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:13:32.360989 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:14:03.958847 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:14:32.524089 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:15:03.761525 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:15:32.670283 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:16:03.910015 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:16:32.939883 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:17:04.634882 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:17:33.026668 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:18:04.419949 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:18:33.132170 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:19:04.569992 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:19:32.498850 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:20:03.719628 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:20:32.592258 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:21:03.937847 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:21:32.726619 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:22:03.746945 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:22:32.943380 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:23:04.495772 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:23:33.045196 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:24:03.791190 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:24:32.203244 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:25:03.862620 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:25:32.284022 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:26:03.180606 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:26:32.587960 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:27:04.537685 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:27:32.755227 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:28:04.133459 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:28:33.008667 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:29:05.437031 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:29:33.278055 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:30:03.701070 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:30:32.520383 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:31:04.067465 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:31:32.751396 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:32:03.735090 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:32:32.931183 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:33:04.347942 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:33:33.106846 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:34:03.949261 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:34:32.296702 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:35:03.997667 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:35:32.472537 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:36:03.572799 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:36:32.598560 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:37:04.207516 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:37:32.915279 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:38:04.021082 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:38:33.126006 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:39:04.111550 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:39:32.569869 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:40:03.749115 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:40:32.695732 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:41:04.474819 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:41:32.907746 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:42:03.927751 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:42:33.176406 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:43:03.936206 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:43:32.327995 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:44:03.876762 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:44:32.645479 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:45:04.381201 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:45:32.835791 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:46:04.273395 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:46:32.941865 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:47:04.631176 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:47:33.274181 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:48:03.497544 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:48:32.477250 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:49:04.640181 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:49:32.875995 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:50:03.988588 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:50:32.991345 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:51:04.623578 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:51:33.115215 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:52:03.297528 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:52:32.345012 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:53:04.138748 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:53:32.510808 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:54:04.106173 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:54:32.683031 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:55:04.288145 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:55:32.884642 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:56:04.293493 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:56:33.178285 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:57:03.752380 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:57:32.314453 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:59:04.613487 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 18:59:32.628603 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:00:03.858915 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:00:32.867023 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:01:04.578711 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:01:33.038008 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:02:04.450762 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:02:33.177465 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:03:03.947138 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:03:32.333785 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:04:03.903730 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:04:32.445474 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:05:04.137881 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:05:32.554837 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:06:04.139190 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:06:32.899469 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:07:04.432472 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:07:32.974650 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:08:03.964790 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:08:33.083969 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:09:04.284265 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:09:32.391286 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:10:03.448195 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:10:32.452657 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:11:03.733445 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:11:32.516229 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:12:03.775161 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:12:32.751057 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:13:04.229215 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:13:32.842456 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:14:04.649672 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:14:33.001135 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:15:03.276064 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:15:32.282776 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:16:03.471288 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:16:32.551318 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:17:03.978576 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:17:32.770054 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:18:04.186472 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:18:33.083935 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:19:04.185069 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:19:32.329359 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:20:03.242633 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:20:32.442083 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:21:04.219276 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:21:32.721744 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:22:04.009177 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:22:32.825940 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:23:04.647821 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:23:33.085132 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:24:04.790997 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:24:33.218190 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:25:04.159994 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:25:32.415741 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:26:03.934117 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:26:32.562596 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:27:04.448549 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:27:32.735306 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:28:03.879584 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:28:32.865093 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:29:04.803703 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:29:32.999062 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:30:04.029798 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:30:33.150920 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:31:03.730444 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:31:32.396363 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:32:03.465630 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:32:32.624044 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:33:04.139711 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:33:32.828859 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:34:04.831352 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:34:33.029933 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:35:04.428223 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:35:33.152510 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:36:03.796257 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:36:32.301062 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:37:03.760029 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:37:32.485488 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:38:03.952308 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:38:32.765864 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:39:05.118829 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:39:32.953615 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:40:04.382522 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:40:33.313793 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:41:03.898228 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:41:32.401289 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:42:03.850925 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:42:32.676921 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:43:04.634370 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:43:33.010897 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:44:04.712478 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:44:33.134778 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:45:03.680269 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:45:32.301817 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:46:03.473016 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:46:32.631562 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:47:04.202281 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:47:32.821111 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:48:03.841593 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:48:33.019881 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:49:04.221566 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:49:32.346241 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:50:03.405679 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:50:32.477459 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:51:03.856959 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:51:32.828779 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:52:03.738481 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:52:32.981087 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:53:05.047405 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:53:33.119553 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:54:03.396249 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:54:32.289418 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:55:03.871614 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:55:32.484559 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:56:04.023296 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:56:32.691203 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:57:04.586164 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:57:32.946567 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:58:04.524554 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:59:05.160077 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 19:59:33.205505 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:00:03.526530 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:00:32.459516 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:01:03.911539 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:01:32.714640 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:02:04.004768 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:02:32.952271 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:03:04.606435 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:03:33.213579 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:04:03.541767 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:04:32.406165 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:05:04.191390 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:05:32.589116 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:06:04.100799 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:06:32.701156 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:07:04.379453 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:07:32.904941 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:08:04.248207 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:08:33.216011 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:09:04.322519 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:09:32.336542 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:10:03.655300 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:10:32.441312 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:11:04.257248 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:11:32.602488 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:12:03.926940 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:12:32.811564 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:13:04.426412 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:13:33.130203 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:14:03.974250 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:14:32.313064 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:15:03.812189 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:15:32.554103 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:16:03.937835 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:16:32.689416 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:17:04.516811 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:17:32.944594 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:18:04.004384 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:18:33.122377 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:19:04.451631 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:19:32.381892 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:20:04.081400 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:20:32.533031 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:21:04.197121 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:21:32.843918 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:22:04.363262 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:22:32.945116 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:23:04.538175 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:23:33.072357 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:24:03.973214 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:24:32.211842 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:25:03.638454 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:25:32.327400 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:26:03.496216 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:26:32.494392 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:27:04.121840 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:27:32.604994 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:28:03.485358 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:28:32.664395 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:29:04.313138 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:29:32.805071 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:30:04.151351 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:30:32.925956 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:31:04.604930 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:31:33.134664 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:32:03.141789 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:32:32.281726 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:33:03.987519 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:33:32.417687 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:34:04.526272 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:34:32.689977 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:35:04.685641 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:35:32.954012 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:36:04.168223 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:36:33.213171 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:37:03.606403 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:37:32.287044 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:38:03.747339 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:38:32.530576 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:39:04.643304 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:39:32.872503 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:40:04.096235 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:40:32.974306 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:41:04.432529 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:41:33.110589 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:42:03.502842 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:42:32.465456 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:43:04.278595 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:43:32.687899 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:44:04.399927 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:44:32.893230 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:45:04.579587 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:45:33.118432 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:46:03.203893 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:46:32.315134 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:47:04.016383 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:47:32.458870 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:48:03.740798 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:48:32.586281 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:49:04.668975 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:49:32.911298 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:50:04.356420 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:50:33.128774 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:51:03.884926 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:51:32.294731 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:52:03.687330 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:52:32.552814 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:53:04.470471 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:53:32.687569 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:54:04.580319 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:54:32.936172 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:55:04.675748 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:55:33.048231 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:56:03.425300 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:56:32.409196 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:57:04.110128 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:57:32.484616 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:58:32.766262 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:59:04.625276 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 20:59:33.035014 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:00:04.190314 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:00:33.178484 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:01:03.812759 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:01:32.367642 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:02:03.660244 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:02:32.459192 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:03:03.902178 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:03:32.573176 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:04:03.834035 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:04:32.681869 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:05:04.363847 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:05:33.000759 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:06:03.030881 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:06:32.208980 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:07:03.832684 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:07:32.436103 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:08:03.668097 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:08:32.539971 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:09:04.404022 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:09:32.805403 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:10:04.182878 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:10:32.878490 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:11:04.489748 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:11:33.333646 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:12:03.478157 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:12:32.627830 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:13:03.881698 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:13:32.800907 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:14:04.763471 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:14:33.046495 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:15:04.991426 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:15:33.176075 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:16:03.399943 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:16:32.463845 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:17:04.121405 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:17:32.599736 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:18:03.792150 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:18:32.712868 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:19:04.938675 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:19:32.925930 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:20:04.116953 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:20:33.126536 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:21:03.685119 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:21:32.355706 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:22:03.559362 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:22:32.578998 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:23:04.291418 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:23:32.767272 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:24:04.513749 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:24:32.950432 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:25:04.215692 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:25:33.080415 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:26:04.251099 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:26:33.276184 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:27:03.836884 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:27:32.390372 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:28:03.644455 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:28:32.580258 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:29:04.672329 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:29:32.788437 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:30:04.189110 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:30:33.098011 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:31:03.834886 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:31:32.422813 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:32:03.578972 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:32:32.607637 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:33:04.618370 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:33:32.865119 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:34:04.738215 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:34:32.999547 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:35:04.611356 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:35:33.136436 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:36:03.411162 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:36:32.392012 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:37:04.461654 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:37:32.588650 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:38:03.754212 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:38:32.754826 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:39:04.921857 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:39:32.980968 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:40:04.580598 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:40:33.167321 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:41:03.922080 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:41:32.458699 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:42:03.320519 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:42:32.662288 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:43:04.092525 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:43:32.854641 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:44:04.608203 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:44:33.019796 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:45:03.253226 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:45:32.430677 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:46:03.488484 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:46:32.573873 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:47:04.405269 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:47:32.729023 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:48:04.120528 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:48:32.899316 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:49:05.178783 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:49:33.200708 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:50:03.161460 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:50:32.172853 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:51:03.580580 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:51:32.404409 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:52:03.521595 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:52:32.596274 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:53:04.317628 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:53:32.829362 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:54:04.798975 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:54:32.965935 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:55:04.706870 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:55:33.114321 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:56:03.263160 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:56:32.234574 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:57:03.948007 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:57:32.412383 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:58:03.869795 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:59:04.709131 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 21:59:32.845925 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:00:03.956116 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:00:33.004789 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:01:04.744014 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:01:33.269866 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:02:03.565839 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:02:32.457215 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:03:04.032453 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:03:32.744640 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:04:04.502098 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:04:32.896579 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:05:04.514911 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:05:33.168599 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:06:03.560659 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:06:32.254033 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:07:03.789434 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:07:32.420791 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:08:03.540853 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:08:32.573530 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:09:04.573350 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:09:32.892500 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:10:04.298440 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:10:33.057716 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:11:04.777011 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:11:33.209699 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:12:03.361053 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:12:32.410993 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:13:04.483789 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:13:32.526966 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:14:04.396786 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:14:32.788793 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:15:04.509438 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:15:33.075778 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:16:03.618044 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:16:32.239551 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:17:04.171432 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:17:32.557705 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:18:03.822465 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:18:32.695095 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:19:04.364093 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:19:32.921389 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:20:03.920497 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:20:33.021286 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:21:03.849201 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:21:32.356884 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:22:03.547620 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:22:32.422774 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:23:03.740971 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:23:32.541186 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:24:04.121719 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:24:32.732168 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:25:04.584493 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:25:32.888064 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:26:04.263949 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:26:33.111591 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:27:03.682857 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:27:32.285460 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:28:03.566571 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:28:32.497956 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:29:04.714755 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:29:32.846471 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:30:04.220543 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:30:33.020371 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:31:04.765352 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:31:33.214532 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:32:03.571140 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:32:32.416166 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:33:04.161563 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:33:32.669452 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:34:04.650791 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:34:32.810099 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:35:04.552669 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:35:32.970666 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:36:04.454063 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:36:33.248454 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:37:03.932608 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:37:32.421628 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:38:03.763683 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:38:32.650245 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:39:04.779650 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:39:32.821256 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:40:04.071217 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:40:32.940575 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:41:04.730799 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:41:33.064664 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:42:04.460306 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:42:33.204682 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:43:03.917030 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:43:32.320666 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:44:03.849955 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:44:32.522079 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:45:04.573899 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:45:32.628916 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:46:04.103846 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:46:32.760985 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:47:04.405180 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:47:32.996564 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:48:04.497389 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:48:33.126532 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:49:04.218668 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:49:32.356712 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:50:03.591967 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:50:32.608139 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:51:04.035469 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:51:32.758909 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:52:03.839031 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:52:32.966415 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:53:04.591112 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:53:33.086179 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:54:03.664920 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:54:32.242370 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:55:03.901619 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:55:32.431387 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:56:03.357347 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:56:32.548112 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:57:04.055115 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:57:32.996141 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:58:04.281644 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:59:04.846911 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 22:59:33.127703 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:00:03.047528 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:00:32.492710 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:01:03.509019 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:01:32.564103 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:02:03.423492 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:02:32.686550 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:03:03.957775 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:03:32.897657 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:04:04.064516 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:04:32.973699 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:05:04.134168 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:05:33.227035 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:06:03.112634 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:06:32.483898 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:07:03.512181 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:07:32.544304 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:08:03.449676 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:08:32.741047 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:09:04.541708 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:09:33.097843 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:10:02.949517 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:10:32.302533 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:11:03.523850 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:11:32.543138 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:12:03.364384 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:12:32.675778 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:13:04.096582 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:13:32.904154 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:14:03.955816 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:14:33.073964 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:15:04.076163 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:15:33.205337 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:16:03.129888 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:16:32.548500 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:17:03.908848 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:17:32.618695 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:18:03.649461 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:18:32.971423 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:19:04.690713 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:19:33.100012 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:20:02.993982 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:20:32.276597 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:21:03.705018 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:21:32.444271 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:22:03.367672 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:22:32.698491 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:23:04.033353 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:23:33.000537 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:24:04.236530 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:24:33.224650 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:25:03.389279 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:25:32.353391 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:26:03.435090 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:26:32.594439 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:27:03.934266 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:27:32.736036 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:28:03.629772 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:28:32.839502 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:29:04.616625 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:29:33.002448 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:30:03.978587 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:30:33.220462 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:31:03.565957 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:31:32.283547 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:32:03.267580 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:32:32.591697 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:33:03.903104 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:33:32.798669 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:34:04.712724 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:34:32.956882 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:35:04.434735 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:35:33.127576 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:36:03.014001 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:36:32.229003 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:37:03.677501 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:37:32.361570 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:38:03.305725 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:38:32.554396 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:39:04.247824 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:39:32.677828 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:40:03.498000 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:40:32.877455 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:41:03.995561 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:41:33.063834 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:42:03.017204 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:42:32.307595 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:43:03.344023 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:43:32.354824 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:44:03.340745 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:44:32.606222 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:45:03.705041 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:45:32.736112 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:46:03.497549 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:46:32.852236 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:47:04.100369 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:47:33.093541 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:48:02.720377 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:48:32.235739 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:49:03.918121 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:49:32.387829 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:50:03.227352 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:50:32.652380 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:51:03.960701 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:51:32.957774 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:52:03.834522 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:52:33.111014 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:53:03.046835 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:53:32.241652 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:54:03.687916 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:54:32.402576 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:55:03.752461 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:55:32.809515 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:56:03.888263 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:56:33.026388 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:57:04.444633 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:57:33.173052 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:58:02.924366 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) Start to upload photos with parameters : -n Raspi_test1 -u marlene.fotonower.com -f /home/pi/Desktop/images -t b8c2885155eb706c1e52c228009042e8 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/pi/.fotonower_config/sqlite.db 2025-03-14 23:58:32.331028 no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config new_name : Raspi_test1_14032025 fc.token : b8c2885155eb706c1e52c228009042e8 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250314 ORDER BY id_local ASC LIMIT 6; error upload [('/home/pi/Desktop/images/14032025/00/15/image_14032025_00_16_06_29529.jpg', 2), ('/home/pi/Desktop/images/14032025/00/49/image_14032025_00_49_36_28926.jpg', 2), ('/home/pi/Desktop/images/14032025/01/55/image_14032025_01_56_06_29580.jpg', 2), ('/home/pi/Desktop/images/14032025/02/29/image_14032025_02_29_36_29170.jpg', 2), ('/home/pi/Desktop/images/14032025/03/35/image_14032025_03_36_06_30513.jpg', 2), ('/home/pi/Desktop/images/14032025/04/09/image_14032025_04_09_36_29362.jpg', 2)] Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 335, in upload_from_sqlite n_date = get_metadata_infos(name[0]) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 409, in get_metadata_infos exifdata = image.getexif() AttributeError: 'JpegImageFile' object has no attribute 'getexif' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_14032025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))